package com.wenwu.common.bean;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.apache.log4j.Logger;

public class RelicsMWenwu {
    private Integer mRelicsId;

    private String mRelicsNo;

    private String mRegisterId;

    private String mAssistType1;

    private String mAssistNum1;

    private String mAssistType2;

    private String mAssistNum2;

    private String mOtherNum;

    private String mOldName;

    private String mName;

    private String mType;

    private String mYearType;

    private String geologyYear;

    private String relicsYear;

    private String historyYear;

    private String christianYear;

    private String mYear;

    private String mShapeType;

    private String mShapeCharacter;

    private String mTextureType;

    private String mTexture;

    private String mColor;

    private String mGloss;

    private String mSizeUnit;

    private String mSize;

    private String mWeightUnit;

    private String mWeight;

    private String mVolumeUnit;

    private String mVolume;

    private String mNumber;

    private String mNumberUnit;

    private String mTraditionNumber;

    private String mTraditionNumberUnit;

    private String mAttachmentName;

    private String mAttachmentNumber;

    private Date mIdentifyDate;

    private String mIdentifyOrgan;

    private String mIdentifyPerson;

    private String mIdentifyAdvice;

    private String mRelicsLever;

    private String mSecrecyLever;

    private String mInstoreOrgan;

    private String mSavePosition;

    private String mRelicsOrigin;

    private String mSpread;

    private String mDesc;

    private String append1;

    private String append2;

    private String append3;

    private Logger log = Logger.getLogger(this.getClass());
    
    public Integer getmRelicsId() {
        return mRelicsId;
    }

    public void setmRelicsId(Integer mRelicsId) {
        this.mRelicsId = mRelicsId;
    }

    public String getmRelicsNo() {
        return mRelicsNo;
    }

    public void setmRelicsNo(String mRelicsNo) {
        this.mRelicsNo = mRelicsNo;
    }

    public String getmRegisterId() {
        return mRegisterId;
    }

    public void setmRegisterId(String mRegisterId) {
        this.mRegisterId = mRegisterId;
    }

    public String getmAssistType1() {
        return mAssistType1;
    }

    public void setmAssistType1(String mAssistType1) {
        this.mAssistType1 = mAssistType1;
    }

    public String getmAssistNum1() {
        return mAssistNum1;
    }

    public void setmAssistNum1(String mAssistNum1) {
        this.mAssistNum1 = mAssistNum1;
    }

    public String getmAssistType2() {
        return mAssistType2;
    }

    public void setmAssistType2(String mAssistType2) {
        this.mAssistType2 = mAssistType2;
    }

    public String getmAssistNum2() {
        return mAssistNum2;
    }

    public void setmAssistNum2(String mAssistNum2) {
        this.mAssistNum2 = mAssistNum2;
    }

    public String getmOtherNum() {
        return mOtherNum;
    }

    public void setmOtherNum(String mOtherNum) {
        this.mOtherNum = mOtherNum;
    }

    public String getmOldName() {
        return mOldName;
    }

    public void setmOldName(String mOldName) {
        this.mOldName = mOldName;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getmType() {
        return mType;
    }

    public void setmType(String mType) {
        this.mType = mType;
    }

    public String getmYearType() {
        return mYearType;
    }

    public void setmYearType(String mYearType) {
        this.mYearType = mYearType;
    }

    public String getGeologyYear() {
        return geologyYear;
    }

    public void setGeologyYear(String geologyYear) {
        this.geologyYear = geologyYear;
    }

    public String getRelicsYear() {
        return relicsYear;
    }

    public void setRelicsYear(String relicsYear) {
        this.relicsYear = relicsYear;
    }

    public String getHistoryYear() {
        return historyYear;
    }

    public void setHistoryYear(String historyYear) {
        this.historyYear = historyYear;
    }

    public String getChristianYear() {
        return christianYear;
    }

    public void setChristianYear(String christianYear) {
        this.christianYear = christianYear;
    }

    public String getmYear() {
        return mYear;
    }

    public void setmYear(String mYear) {
        this.mYear = mYear;
    }

    public String getmShapeType() {
        return mShapeType;
    }

    public void setmShapeType(String mShapeType) {
        this.mShapeType = mShapeType;
    }

    public String getmShapeCharacter() {
        return mShapeCharacter;
    }

    public void setmShapeCharacter(String mShapeCharacter) {
        this.mShapeCharacter = mShapeCharacter;
    }

    public String getmTextureType() {
        return mTextureType;
    }

    public void setmTextureType(String mTextureType) {
        this.mTextureType = mTextureType;
    }

    public String getmTexture() {
        return mTexture;
    }

    public void setmTexture(String mTexture) {
        this.mTexture = mTexture;
    }

    public String getmColor() {
        return mColor;
    }

    public void setmColor(String mColor) {
        this.mColor = mColor;
    }

    public String getmGloss() {
        return mGloss;
    }

    public void setmGloss(String mGloss) {
        this.mGloss = mGloss;
    }

    public String getmSizeUnit() {
        return mSizeUnit;
    }

    public void setmSizeUnit(String mSizeUnit) {
        this.mSizeUnit = mSizeUnit;
    }

    public String getmSize() {
        return mSize;
    }

    public void setmSize(String mSize) {
        this.mSize = mSize;
    }

    public String getmWeightUnit() {
        return mWeightUnit;
    }

    public void setmWeightUnit(String mWeightUnit) {
        this.mWeightUnit = mWeightUnit;
    }

    public String getmWeight() {
        return mWeight;
    }

    public void setmWeight(String mWeight) {
        this.mWeight = mWeight;
    }

    public String getmVolumeUnit() {
        return mVolumeUnit;
    }

    public void setmVolumeUnit(String mVolumeUnit) {
        this.mVolumeUnit = mVolumeUnit;
    }

    public String getmVolume() {
        return mVolume;
    }

    public void setmVolume(String mVolume) {
        this.mVolume = mVolume;
    }

    public String getmNumber() {
        return mNumber;
    }

    public void setmNumber(String mNumber) {
        this.mNumber = mNumber;
    }

    public String getmNumberUnit() {
        return mNumberUnit;
    }

    public void setmNumberUnit(String mNumberUnit) {
        this.mNumberUnit = mNumberUnit;
    }

    public String getmTraditionNumber() {
        return mTraditionNumber;
    }

    public void setmTraditionNumber(String mTraditionNumber) {
        this.mTraditionNumber = mTraditionNumber;
    }

    public String getmTraditionNumberUnit() {
        return mTraditionNumberUnit;
    }

    public void setmTraditionNumberUnit(String mTraditionNumberUnit) {
        this.mTraditionNumberUnit = mTraditionNumberUnit;
    }

    public String getmAttachmentName() {
        return mAttachmentName;
    }

    public void setmAttachmentName(String mAttachmentName) {
        this.mAttachmentName = mAttachmentName;
    }

    public String getmAttachmentNumber() {
        return mAttachmentNumber;
    }

    public void setmAttachmentNumber(String mAttachmentNumber) {
        this.mAttachmentNumber = mAttachmentNumber;
    }

    public String getMIdentifyDate(){
    	return getmIdentifyDate();
    }
    
    public String getmIdentifyDate() {
		if(mIdentifyDate ==null)
			return null;
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			return sdf.format(mIdentifyDate);
		} catch (Exception e) {
			return null;
		}
    }
    
    public void setmIdentifyDate(String mIdentifyDate) {
    	setMIdentifyDate (mIdentifyDate);
    }
    
    public void setMIdentifyDate(String mIdentifyDate) {
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			this.mIdentifyDate = sdf.parse(mIdentifyDate);
		} catch (Exception e) {
		}
    }

    public String getmIdentifyOrgan() {
        return mIdentifyOrgan;
    }

    public void setmIdentifyOrgan(String mIdentifyOrgan) {
        this.mIdentifyOrgan = mIdentifyOrgan;
    }

    public String getmIdentifyPerson() {
        return mIdentifyPerson;
    }

    public void setmIdentifyPerson(String mIdentifyPerson) {
        this.mIdentifyPerson = mIdentifyPerson;
    }

    public String getmIdentifyAdvice() {
        return mIdentifyAdvice;
    }

    public void setmIdentifyAdvice(String mIdentifyAdvice) {
        this.mIdentifyAdvice = mIdentifyAdvice;
    }

    public String getmRelicsLever() {
        return mRelicsLever;
    }

    public void setmRelicsLever(String mRelicsLever) {
        this.mRelicsLever = mRelicsLever;
    }

    public String getmSecrecyLever() {
        return mSecrecyLever;
    }

    public void setmSecrecyLever(String mSecrecyLever) {
        this.mSecrecyLever = mSecrecyLever;
    }

    public String getmInstoreOrgan() {
        return mInstoreOrgan;
    }

    public void setmInstoreOrgan(String mInstoreOrgan) {
        this.mInstoreOrgan = mInstoreOrgan;
    }

    public String getmSavePosition() {
        return mSavePosition;
    }

    public void setmSavePosition(String mSavePosition) {
        this.mSavePosition = mSavePosition;
    }

    public String getmRelicsOrigin() {
        return mRelicsOrigin;
    }

    public void setmRelicsOrigin(String mRelicsOrigin) {
        this.mRelicsOrigin = mRelicsOrigin;
    }

    public String getmSpread() {
        return mSpread;
    }

    public void setmSpread(String mSpread) {
        this.mSpread = mSpread;
    }

    public String getmDesc() {
        return mDesc;
    }

    public void setmDesc(String mDesc) {
        this.mDesc = mDesc;
    }

    public String getAppend1() {
        return append1;
    }

    public void setAppend1(String append1) {
        this.append1 = append1;
    }

    public String getAppend2() {
        return append2;
    }

    public void setAppend2(String append2) {
        this.append2 = append2;
    }

    public String getAppend3() {
        return append3;
    }

    public void setAppend3(String append3) {
        this.append3 = append3;
    }

	@Override
	public String toString() {
		return "RelicsMWenwu [mRelicsId=" + mRelicsId + ", mRelicsNo="
				+ mRelicsNo + ", mRegisterId=" + mRegisterId
				+ ", mAssistType1=" + mAssistType1 + ", mAssistNum1="
				+ mAssistNum1 + ", mAssistType2=" + mAssistType2
				+ ", mAssistNum2=" + mAssistNum2 + ", mOtherNum=" + mOtherNum
				+ ", mOldName=" + mOldName + ", mName=" + mName + ", mType="
				+ mType + ", mYearType=" + mYearType + ", geologyYear="
				+ geologyYear + ", relicsYear=" + relicsYear + ", historyYear="
				+ historyYear + ", christianYear=" + christianYear + ", mYear="
				+ mYear + ", mShapeType=" + mShapeType + ", mShapeCharacter="
				+ mShapeCharacter + ", mTextureType=" + mTextureType
				+ ", mTexture=" + mTexture + ", mColor=" + mColor + ", mGloss="
				+ mGloss + ", mSizeUnit=" + mSizeUnit + ", mSize=" + mSize
				+ ", mWeightUnit=" + mWeightUnit + ", mWeight=" + mWeight
				+ ", mVolumeUnit=" + mVolumeUnit + ", mVolume=" + mVolume
				+ ", mNumber=" + mNumber + ", mNumberUnit=" + mNumberUnit
				+ ", mTraditionNumber=" + mTraditionNumber
				+ ", mTraditionNumberUnit=" + mTraditionNumberUnit
				+ ", mAttachmentName=" + mAttachmentName
				+ ", mAttachmentNumber=" + mAttachmentNumber
				+ ", mIdentifyDate=" + mIdentifyDate + ", mIdentifyOrgan="
				+ mIdentifyOrgan + ", mIdentifyPerson=" + mIdentifyPerson
				+ ", mIdentifyAdvice=" + mIdentifyAdvice + ", mRelicsLever="
				+ mRelicsLever + ", mSecrecyLever=" + mSecrecyLever
				+ ", mInstoreOrgan=" + mInstoreOrgan + ", mSavePosition="
				+ mSavePosition + ", mRelicsOrigin=" + mRelicsOrigin
				+ ", mSpread=" + mSpread + ", mDesc=" + mDesc + ", append1="
				+ append1 + ", append2=" + append2 + ", append3=" + append3
				+ ", log=" + log + "]";
	}
    
    
}